/**
 * Created by PhpStorm.
 * User:  maidou
 * Date: 2022年4月22日
 * Time: 08点43分
 * Description: 识别@路径
 */

const path = require('path')
function resolve (dir) {
    return path.join(__dirname, '.', dir)
}
module.exports = {
    context: path.resolve(__dirname, './'),
    resolve: {
        extensions: ['.js', '.vue', '.json'],
        alias: {
            '@': resolve('src')
        }
    }
}